home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
tcp_ip
/
rmail213
/
whattime.man
< prev
Wrap
Text File
|
1992-11-07
|
1KB
|
47 lines
WHATTIME(1) (RATS - The Radio Amateur Telecommunications Society) WHATTIME(1)
NAME
whattime, whatmin, whathour, whatyday, whatwday, whatmday,
whatmon, whatyear - return a value from the UTC "tm" structure
SYNOPSIS
whattime [ min ] [ hour ] [ yday ] [ wday ] [ mday ] [ mon ] [ year ]
whatmin
whathour
whatyday
whatwday
whatmday
whatmon
whatyear
DESCRIPTION
_whattime_ returns as its exit value the value for the named
component of the "tm" structure returned by gmtime(3c).
The alternate forms of the command simply replace 'time' with
the desired argument.
Return values range as follow
min 0 to 59 (minute of hour)
hour 0 to 23 (hour of day)
yday 0 to 365 (day of year)
wday 0 to 6 (day of week [0 = Sunday, 6 = Saturday])
mday 1 to 31 (day of month)
mon 0 to 11 (month of year)
year year - 1900
If the calling name is not one of the alternate forms and there
is not a valid argument EOF (-1) is returned.
AUTHOR
Frank Warren (KB4CYC)
SEE ALSO
ctime(3)